<?php

namespace system\model;

use hdphp\Model\Model;

class ReplyBase extends Model{
	//数据表
	protected $table = "reply_base";

	//自动验证
	protected $validate=[
		['content','required','回复内容不能为空',self::MUST_VALIDATE,self::MODEL_BOTH],
		['kid','required','KID不能为空',self::MUST_VALIDATE,self::MODEL_BOTH],
	];

	//自动完成
	protected $auto=[
		//['字段名','处理方法','方法类型',验证条件,验证时机]
	];


}